﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace 验证码识别
{
    class ClipImage
    {
       /// <summary>
       /// 切割预览
       /// </summary>
        public Bitmap ImagePreView
        {
            get;
            set;
        }
        /// <summary>
        /// 切割结果
        /// </summary>
        public Bitmap[] ClipImages
        {
            get;
            set;
        }
    }
    /// <summary>
    /// 验证码结果
    /// </summary>
    class VerifyResult
    {
        /// <summary>
        /// 相似度
        /// </summary>
        public double Likeness
        {
            get;
            set;
        }
        /// <summary>
        /// 验证码
        /// </summary>
        public string Code
        {
            get;
            set;
        }
    }
    class SearchResult
    {
        /// <summary>
        /// 图像结果
        /// </summary>
        public Bitmap Image
        {
            get;
            set;
        }
        /// <summary>
        /// 开始横坐标
        /// </summary>
        public int XStart
        {
            get;
            set;
        }
        /// <summary>
        /// 开始纵坐标
        /// </summary>
        public int YStart
        {
            get;
            set;
        }
        /// <summary>
        /// 结束横坐标
        /// </summary>
        public int XEnd
        {
            get;
            set;
        }
        /// <summary>
        /// 结束纵坐标
        /// </summary>
        public int YEnd
        {
            get;
            set;
        }
        //当前处理的X坐标
        public int XCurrent
        {
            get;
            set;
        }
        //当前处理的Y坐标
        public int YCurrent
        {
            get;
            set;
        }
        /// <summary>
        /// 像素总点数
        /// </summary>
        public int pointCount
        {
            get;
            set;
        }
        
    }
}
